/**
 *====================================================
 * 文件名称: SignatureEntity.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2015年9月23日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.member.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName: SignatureEntity
 * @Description: TODO(电子签章-签署信息)
 * @author chenxy
 * @date 2015年9月23日 下午5:42:57
 */
@Entity
@Table(name = "FIN_DOCUMENT_STORAGE")
public class SignatureInfoEntity {

	@Id
	@GeneratedValue
	@Column(name = "ID")
	private Long Id;
	
	/** 业务ID */
	@Column(name = "JOIN_ID")
	private Long joinId;
	
	/** 文档类型   */
	@Column(name = "DOC_TYPE")
	private String docType;
	
	/** 文件名 */
	@Column(name = "FILE_NAME")
	private String fileName;
	
	
	/** 文件uuid */
	@Column(name = "FILE_UUID")
	private String fileUuid;
	
	
	/** 客户ACCOUNT */
	@Column(name = "CUSTOMER_USER_ACCOUNT")
	private String customerUserAccount;
	
	
	/** 用户签收路径 */
	@Column(name = "USER_FILE_URL")
	private String userFileUrl;
	
	/** 用户签署时间*/
	@Column(name = "USER_SIGN_DATE")
	private Date userSignDate;
	
	/** 平台用户Account */
	@Column(name = "PLATFORM_USER_ACCOUNT")
	private String platformUserAccount;
	
	/** 平台签收路径 */
	@Column(name = "PLATFORM_FILE_URL")
	private String platformFileUrl;
	
	/** 平台签署时间*/
	@Column(name = "PLATFORM_SIGN_DATE")
	private Date platformSignDate;
	
	/** 文档保全 ID  无保全服务为空*/
	@Column(name = "DOCID")
	private String docId;

	/** 备用字段 */
	@Column(name = "SPARE")
	private String spare;

	/** 创建时间 */
	@Column(name = "CREATE_DT")
	private Date createDateTime;

	public Long getId() {
		return Id;
	}

	public void setId(Long id) {
		Id = id;
	}

	public Long getJoinId() {
		return joinId;
	}

	public void setJoinId(Long joinId) {
		this.joinId = joinId;
	}

	public String getDocType() {
		return docType;
	}

	public void setDocType(String docType) {
		this.docType = docType;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileUuid() {
		return fileUuid;
	}

	public void setFileUuid(String fileUuid) {
		this.fileUuid = fileUuid;
	}



	public String getCustomerUserAccount() {
		return customerUserAccount;
	}

	public void setCustomerUserAccount(String customerUserAccount) {
		this.customerUserAccount = customerUserAccount;
	}

	public String getUserFileUrl() {
		return userFileUrl;
	}

	public void setUserFileUrl(String userFileUrl) {
		this.userFileUrl = userFileUrl;
	}

	public Date getUserSignDate() {
		return userSignDate;
	}

	public void setUserSignDate(Date userSignDate) {
		this.userSignDate = userSignDate;
	}

	public String getPlatformUserAccount() {
		return platformUserAccount;
	}

	public void setPlatformUserAccount(String platformUserAccount) {
		this.platformUserAccount = platformUserAccount;
	}

	public String getPlatformFileUrl() {
		return platformFileUrl;
	}

	public void setPlatformFileUrl(String platformFileUrl) {
		this.platformFileUrl = platformFileUrl;
	}

	public Date getPlatformSignDate() {
		return platformSignDate;
	}

	public void setPlatformSignDate(Date platformSignDate) {
		this.platformSignDate = platformSignDate;
	}

	public String getDocId() {
		return docId;
	}

	public void setDocId(String docId) {
		this.docId = docId;
	}

	public String getSpare() {
		return spare;
	}

	public void setSpare(String spare) {
		this.spare = spare;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

	public SignatureInfoEntity() {
		super();
		// TODO Auto-generated constructor stub
	}

	public SignatureInfoEntity(Long joinId,String docType, String fileName, String fileUuid,
			String customerUserAccount, Date userSignDate, String platformUserAccount,
			Date platformSignDate, Date createDateTime) {
		super();
		this.joinId = joinId;
		this.docType=docType;
		this.fileName = fileName;
		this.fileUuid = fileUuid;
		this.customerUserAccount = customerUserAccount;
		this.userSignDate = userSignDate;
		this.platformUserAccount = platformUserAccount;
		this.platformSignDate = platformSignDate;
		this.createDateTime = createDateTime;
	}
}
